package org.tang.tianchi.notes.util;

import java.util.Random;

public class ParamUtil {

    public static int[] getArray(int start, int end, int size) {
        int[] value = new int[size];
        Random rand = new Random();
        for (int i = 0; i < size; i++) {
            value[i] = rand.nextInt(end - start + 1) + start;
        }
        return value;
    }
}
